#!/bin/sh
# dep: alsa-lib-1.0.16
# dep: ncurses-5.7

./configure --prefix=/usr || exit 1

make || exit 1

if [ ! -e alsamixer/alsamixer ]; then
	exit 1
fi

for exe in alsactl alsamixer aplay amixer; do
	make -C ${exe} install-exec || exit 1
done

